<include file="public:top" />
<!--网站设置-->
<body class="body">
<style type="text/css">
    .red {color: #FF5722!important;}
    .green {color: #5FB878!important;}
</style>
<fieldset class="layui-elem-field layui-field-title" style="margin-top:0px;">
    <legend>{$menuid|getmenuname}</legend>
</fieldset>
<form class="layui-form layui-form-pane" action="">
    <input type="hidden" name="g" value="admin" />
    <input type="hidden" name="m" value="jubao" />
    <input type="hidden" name="a" value="index" />
    <input type="hidden" name="menuid" value="{$menuid}" />
     <div class="my-btn-box">
      
     <span class="fr">
       <a class="layui-btn layui-btn-danger" id="btn-alldel">批量删除</a>
    
     </span>
    </div> 
</form>
<form class="layui-form layui-form-pane" action="">
    <table class="layui-table">
        <colgroup>
            <col width="60">
            <col width="60">
            <col width="340">
            <col width="120">
            <col width="">
            <col width="150">
            <col width="75">
            
        </colgroup>
        <thead>
        <tr>
            <th><input type="checkbox" id="checkall_t" lay-skin="primary" lay-filter="allChoose" ></th>
            <th>ID</th>
            <th>文档名称</th>
            <th>举报人</th>
            <th>举报原因</th>
            <th>举报时间</th>
            <th>操作</th>
        </tr>
        </thead>
         <tbody id="userList">
            <volist name="list" id="val" >
              <tr>
                <td><input class="doc_checkbox" type="checkbox" value="{$val.id}" lay-skin="primary" lay-filter="itemChoose"></td>
                <td>{$val.id}</td>
                <td>{:docinfo($val['itemid'], 'title')}<font style="font-size: 12px">（共被举报{$val.itemid|jubaoNum}次）</font></td>
                <td>{$val.uid|getusername}</td>
                <td>{$val.content}</td>
                <td>{$val.add_time|date='Y-m-d H:i',###}</td>
                <td>
                   <a href="javascript:;" class="J_showdialog" data-uri="{:U('jubao/delete', array('id'=>$val['id']))}" data-title="{:L('delete')} - {$val.title}"  data-id="edit" data-acttype="ajax" id="delete">{:L('delete')}</a>  
                </td>
              </tr>
            </volist>
        </tbody>

    </table>
</form>
<div id="test-laypage-demo0">
  <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-29">
  {$page}
  </div>
</div>
<script type="text/javascript" src="__PUBLIC__/admin/layui/layui.js"></script>
<script>
layui.use(['layer','jquery','form','element','table'], function () {
    //参数：layui、名称、模块名、主键（删除用）
    Oper.initList(layui, '举报', 'jubao', 'id');
});
</script>
</body>
</html>